import java.util.Scanner;


/** 
   
This program reads three integer values
  
 and prints out the smallest of the three.
   
If the values are equal, 
print out only one of them.
*/
public class Smallest
{
   
public static void main(String[] args)
   
{
      
// 
Print prompt to enter three integer values
      System.out.println("Please enter three integer values:");

      
// Read in the three integer values
      
Scanner in = new Scanner(System.in);
      
int a = in.nextInt();
      
int b = in.nextInt();
      
int c = in.nextInt();

      
// Determine and print out the smallest value
      int smallest =(a<b?a:b)<c?(a<b?a:b):c;    

      System.out.println(smallest);
   
}

}
